package model

type SysCasbin struct {
	ID     uint   `json:"id" gorm:"column:id"`
	Ptype  string `json:"ptype" gorm:"column:ptype"`
	Role string `json:"role" gorm:"column:v0"`
	Path   string `json:"path" gorm:"column:v1"`
	Method string `json:"method" gorm:"column:v2"`
}

type SysCasbinReq struct {

}

type SysCasbinRes struct {

}

func (c SysCasbin) TableName() string {
	return "casbin_rule"
}
